GtkGrid: Tweak size allocation
authorMatthias Clasen <mclasen@redhat.com>
Sat, 16 Mar 2013 03:10:39 +0000 (23:10 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 16 Mar 2013 03:38:30 +0000 (23:38 -0400)
commit5e1a06d1b124f09a1a54d5ae0f38905dbdc2cc81
tree48a2b22a87020f4431c7ceab1913141e057fafe5
parente43956141baaff4448c89c180e2dc7aa1a1e6d63
GtkGrid: Tweak size allocation

If there are rows that contain only spanning children,
our algorithm was unnecessarily distributing extra space
to the other rows, even if they contain only non-expanding
children.

We improve the behaviour by treating rows containing only
spanning children as expanding.
gtk/gtkgrid.c